package com.test.kotlin01

fun main(){
    doSomeThing(20,false)
    fix("Jack" )//默认值参数
    fix(age=2,name = "Jack" )//具名函数
    print(fix("Tom"))//无返回值kotlin.Unit

    TODO("nothing")

    println("after to do nothing")




}

private fun doSomeThing(age:Int,flag:Boolean){
    println("age:$age flag:$flag");
}




fun fix(name:String,age:Int = 2){
    println(name + age);
}

